<template>
  <div ref="div">layoutTest</div>
</template>

<script setup lang="ts">
import { onMounted, ref } from "vue";

const div = ref();
onMounted(() => {
  console.log("div", div.value);
  (div.value as HTMLElement).addEventListener("load", () => {
    console.log("div loaded");
  });
});

</script>

<style scoped></style>
